import Vue from "vue"
import "./autoRegirsterCom"
import {http} from "./request/index"
import {filterImgUrl} from "./filterImgUrl"
import {toFixed} from "./toFixed"
import {toRmb} from "./toRmb"
import {filterArray} from "./filterArray"

// Vue.prototype.$http = http
// Vue.prototype.$filterImgUrl = filterImgUrl
// Vue.prototype.$toFixed = toFixed
// Vue.prototype.$toRmb = toRmb


class Utils{
    constructor(){
        this.$http = http
        this.$filterImgUrl = filterImgUrl
        this.$toFixed = toFixed
        this.$toRmb = toRmb
        this.$filterArray = filterArray
    }
}

Vue.prototype.$utils = new Utils()
